<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>萌星-{$C.webtitle}</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/index.css">
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/banner.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/Adaptive.js"></script>
</head>

<body>

<include file="Public:header"/>

<div class="mx_head">
<div class="num_box">
	<php>
	if(!empty($_COOKIE['id'])){
	</php>
		<a href="{:U('User/baoming')}" class="join_us">我也要参加</a>
	<php>
	}else{
	</php>
		<a href="javascript:;" onClick="woyebaoming()" class="join_us">我也要参加</a>
		<script type="text/javascript">
		function woyebaoming(){
			$.post("{:U('User/getlogzt')}",{},function(msg){
				if(msg==1){
					location.href="./index.php?a=baoming&m=user";
				}else{
					alert("请先登录！");
					location.href="./index.php?a=login&m=user";
				}
			});
		}
		</script>
	<php>
	}
	</php>
</div>

    <section class="content">
        <div class="text_a clearfix">
            <ul>
				<php>
				if($pid==1){
				</php>
					<li> <a href="{:U('User/users')}">最新萌星</a></li>
					<li class="active"><a href="{:U('User/users',array(pid=>1))}">粉丝排行</a></li>
				<php>
				}else{
				</php>
					<li class="active"> <a href="{:U('User/users')}">最新萌星</a></li>
					<li><a href="{:U('User/users',array(pid=>1))}">粉丝排行</a></li>
				<php>
				}
				</php>
            </ul>
        </div>
        <div class="blank20"></div>
        <div class="content_wrap">
            <div class="rank300">
                <ul>
                    <li class="rank-head">
                        <span>排名</span>
                        <span>编号</span>
                        <span>姓名</span>
                        <span>粉丝量</span>
                    </li>
					<volist name="users" id="users" key="i">
						<a href="{:U('User/user',array(suid=>$users[id]))}" title="{$users.name}">
							<li class="list"><span>{$i+($nowPage-1)*15}</span><span>{$users.id}</span><span>{$users.name}</span><span>{$users.fensinum}<php>if($nowPage==1){</php><sup>热</sup><php>}</php></span></li>
						</a>
					</volist>
                </ul>
            </div>
			<!--<div class="page2 clearfix" style="height:auto;padding:0;margin-top:0;"> 
				{$page}
			</div>-->
       </div>
        <div style="height: 1.8rem"></div>
    </section>
</div>

<include file="Public:bottom"/>    
</body>
</html>
